package com.zhc.dejingapi.controller;


import com.zhc.dejingapi.common.result.Result;
import com.zhc.dejingapi.service.QuestionOptionService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhc
 * @since 2024-10-28
 */
@RestController
@RequestMapping("/questionOption")
public class QuestionOptionController {

    @Resource
    private QuestionOptionService questionOptionService;

    @PostMapping("/getInvName")
    public Result getInvName(){
        return questionOptionService.getInvName();
    }

}
